package com.zy.dp.command.example1;

public class ConcreteCommand implements Command
{
	private Receiver receiver;

	@SuppressWarnings("unused")
	private String state;

	public ConcreteCommand(Receiver receiver)
	{

		this.receiver = receiver;
	}

	@Override
	public void execute()
	{
		receiver.action();

	}

}
